/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entity;

public class Category {
    private int categoryid;
    private String categoryname;
    private int parentid;
    

    public Category() {
    }

    public Category(int categoryid, String categoryname, int parentid) {
        this.categoryid = categoryid;
        this.categoryname = categoryname;
        this.parentid = parentid;
    }


    /**
     * @return the categoryid
     */
    public int getCategoryid() {
        return categoryid;
    }

    /**
     * @param categoryid the categoryid to set
     */
    public void setCategoryid(int categoryid) {
        this.categoryid = categoryid;
    }

    /**
     * @return the categoryname
     */
    public String getCategoryname() {
        return categoryname;
    }

    /**
     * @param categoryname the categoryname to set
     */
    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname;
    }

    /**
     * @return the parentid
     */
    public int getParentid() {
        return parentid;
    }

    /**
     * @param parentid the parentid to set
     */
    public void setParentid(int parentid) {
        this.parentid = parentid;
    }


    
    
}
